<template>
	<view class="page-box">
		<!-- 导航 -->
		<block v-if="isFixed">
			<CustomNavbar :iconFlag="iconFlag" :navTitle="navTitle" :isFixed="isFixed" />
		</block>

		<view class="content-box">
			123
		</view>
	</view>
</template>

<script lang="ts">
	import CustomNavbar from '../../components/customNavbar.vue';

	export default {
		// 引入组件
		components: {
			CustomNavbar
		},
		
		data() {
			return {
				isFixed: true,
				navTitle: '趣事圈',
				iconFlag: true
			}
		},
		
		onShow() {
			console.log('********')
		}
	}
</script>

<style lang="scss" scoped>
	.page-box {
		width: 100%;
		height: 100%;
		overflow: hidden;

		.content-box {
			width: 100%;
			height: calc(100vh - 120rpx);
			margin-top: 142rpx;
			background-color: #fff;
			overflow: auto;
		}
	}
</style>